import axios from '@/utils/request'

/**
 * 登录
 */

export const codeLogin = (data,projectId) => axios.post( `/financial/v0/${projectId}/user/codeLogin`, data)
export const checkToken = (data,projectId) => axios.post(`/financial/v0/${projectId}/user/checkToken`, data)

//退出
export const LogOut = (data,projectId) => axios.post(`/financial/v0/${projectId}/user/LogOut`, data)